﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AdminSite.Master"
    Inherits="System.Web.Mvc.ViewPage<Veteran_cms.Models.tag>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <!-- Validation form -->
    <%using (Html.BeginForm("Details", "ManageTag", new { id = Model.tag_id }, FormMethod.Post, new { enctype = "multipart/form-data", @class = "form", id = "validate" }))
      { %>
    <!-- Multiple files uploader -->
    <fieldset>
        <div class="widget">
            <div style="float: right">
                <a href="<%=Url.Action("IndexTag","ManageTag") %>" title="" class="backTo" style="margin: 5px;">
                    <img src="../../images/adminSite/icons/prev.png" alt="" class="icon" /><span>Trở về</span></a></div>
            <div class="title">
                <img src="../../Images/adminSite/icons/dark/pencil.png" alt="" class="titleIcon" /><h6>
                    Thông tin về Tag</h6>
            </div>
            <%if (ViewData["Msg"] != null)
              {%>
            <div class="nNote nSuccess hideit">
                <p>
                    <strong>
                        <%=ViewData["Msg"]%></strong></p>
            </div>
            <%} %>
            <div class="formRow">
                <label>
                    Tiêu đề:<span class="req">*</span></label>
                <div class="formRight">
                    <%:Html.TextBoxFor(model => model.tag_text, new { @class = "validate[required,maxSize[255]]", id = "req" })%></div>
                <div class="clear">
                </div>
            </div>
        </div>
        <div class="widget">
            <div class="formSubmit">
                <input type="submit" value="cập nhật" class="blueB" /></div>
            <%} %>
            <%using (Html.BeginForm("Delete", "ManageTag", new { id = Model.tag_id }, FormMethod.Post, new { enctype = "multipart/form-data", @class = "form" }))
              { %>
            <div class="formSubmit">
                <input type="submit" value="Xóa" class="redB" /></div>
            <div>
                <%:Html.HiddenFor(model => model.tag_id)%></div>
            <%} %>
            <div class="clear">
            </div>
        </div>
    </fieldset>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TitleAreaPlaceHolder" runat="server">
</asp:Content>
